package com.shlh.saas.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shlh.saas.entity.facebook.FacebookMatchRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * Facebook匹配记录Mapper接口
 */
@Mapper
public interface FacebookMatchRecordMapper extends BaseMapper<FacebookMatchRecord> {
    
    /**
     * 根据用户ID查询匹配记录
     * 
     * @param page 分页对象
     * @param userId 用户ID
     * @return 分页后的匹配记录列表
     */
    Page<FacebookMatchRecord> selectPageByUserId(Page<FacebookMatchRecord> page, @Param("userId") Long userId);
} 